home *** CD-ROM | disk | FTP | other *** search
/ Windows Expert / Windows Expert.iso / others / umbdr521.zip / UMB_DRVR.DOC next >
Text File  |  1992-02-03  |  66KB  |  1,330 lines

  1. UMB_DRVR.DOC       Version 5.21             02/03/92             Page 1
  2.  
  3.  
  4.                       UMB_DRVR.SYS Device Driver
  5.            UMB provider for DOS 5.0 on 286 / 386 / 486 systems
  6.               Copyright (C) 1991, 1992 All Rights Reserved
  7.  
  8.      Christopher Blum          CompuServe: 76625,1041
  9.      1022 East Wayne Avenue      INTERNET: 76625.1041@compuserve.com
  10.      Wooster, Ohio 44691              BIX: cblum
  11.      (216)262-3786
  12.  
  13.  
  14. IMPORTANT INFORMATION - DISTRIBUTION AND LICENSING
  15.  
  16.  
  17.      UMB_DRVR.SYS carries no warranties expressed or implied.  It is
  18. solely up to the user to determine its suitability for use on his/her
  19. machine.
  20.      This program is distributed as a self-extracting file containing
  21. the device driver and its associated documentation. Copying and
  22. redistribution is encouraged, but must be the original, unmodified
  23. file containing this documentation, and the transfer must not carry
  24. any fee or charge specific to this program: i.e. general BBS access
  25. or line charges are OK, but no 'download fee' or similar charge. This
  26. means that BBS operators may post this file for download, but may not
  27. charge a specific fee for it, and 'Distribution houses' may charge a
  28. disk-duplication fee, but not a specific charge for the program.
  29.      UMB_DRVR.SYS is made available on a 'try before you buy' basis.
  30. It is not crippled in any way, and has no 'advertising'. The latest
  31. version will be available on CompuServe in the IBM forum ( 'GO IBMSYS',
  32. lib 1 ).
  33.      Personal use license ( U.S. funds ) is $25 which should be mailed
  34. to the above address if the program is used after a reasonable trial
  35. period ( 30 days ). Please use the registration form at the end of this
  36. document. Users who register receive the latest version of the program,
  37. and may at any time send a self-addressed *and postpaid* diskette mailer
  38. and a diskette to receive further updated versions.
  39.      Corporate users must contact me for corporate rate or site license
  40. arrangements.
  41.  
  42.  
  43. TECHNICAL SUPPORT
  44.  
  45.  
  46.      Technical support, including pre-registration questions or install
  47. assistance, is available at your expense at the above telephone number.
  48. Please be aware that I am in the Eastern US time zone ( GMT-4 or GMT-5
  49. depending on season ) and try to call at a reasonable hour: i.e. 9 AM to
  50. Noon, 1 PM to 5PM, or 7 PM to 10 PM. Saturday is OK, but *PLEASE* avoid
  51. Sundays. I can also be contacted via Email on CompuServe, BIX and
  52. INTERNET ( IDs above ) - I monitor my mail almost every day. It is not
  53. necessarily a good idea to leave me messages on CompuServe in the forum
  54. sections unless your question or discussion is of general interest. The
  55. Postal Service may also be used ( address above ).
  56. UMB_DRVR.DOC       Version 5.21             02/03/92             Page 2
  57.  
  58.  
  59. INTRODUCTION
  60.  
  61.  
  62.      To start with, some definitions are in order. Hex addresses are
  63. given in full hex notation as opposed to Intel segment:offset form,
  64. i.e. A0000 in full hex is the same as A000:0 in seg:off form. The
  65. memory sizes are referred to in Kilobytes ( 1,024 decimal ), Megabytes
  66. ( 1,048,576 decimal ), and Gigabytes ( 1,073,741,824 decimal ).
  67.  
  68. BASE MEMORY - Ram available to DOS and programs from location 0 to
  69.   640K-1 ( 9FFFF hex ). All programs have access to this area.
  70.  
  71. UPPER MEMORY - The area between 640K ( A0000 ) and 1M-1 ( FFFFF ). This
  72.   is the area where roms on expansion cards reside ( usually ), where
  73.   the EMS base area ( the 'window' into EMS memory ) is ( usually ), and
  74.   where Upper Memory Blocks ( UMBs ) are created for loading device
  75.   drivers, programs, etc. 'high' with the DOS 5 'DEVICEHIGH' and
  76.   'LOADHIGH' commands. DOS does not create UMBs itself, but rather
  77.   relies on a program called a 'UMB provider' to supply them. DOS then
  78.   manages the upper memory area as an extention of base memory with
  79.   special characteristics when you use the 'DOS=xxxx,UMB' command.
  80.   Programs like UMB_DRVR, QEMM, 386^MAX, and others are UMB providers.
  81.  
  82. HIGH MEMORY AREA ( HMA ) - The HMA is memory from 1M ( 100000 ) to
  83.   1M+64K-16 ( 10FFF0 ), i.e. the first 64K-16 bytes of extended memory.
  84.   It can be accessed on 286 and up cpus in real mode because the address
  85.   calculation logic does not wrap to location 0 from FFFFF, allowing a
  86.   program to use the segment 'FFFF' to access memory up to 10FFF0. On
  87.   the earlier 8088 and 8086 processors, the wrap to location 0 was used
  88.   by some software. To maintain compatibility, system designers have
  89.   included a way to make the newer cpus act like the older ones. It is
  90.   a 'gate' that can allow the cpu's address line 20 ( A20 ) to be held
  91.   to 0 ( emulating the behavior of the older cpus ), or to be passed
  92.   through. With DOS 5, use of the HMA must be through a program which
  93.   controls access to it by opening this gate for times the HMA must be
  94.   accessed and closing it so that other programs cannot accidently get
  95.   at the HMA. The DOS 5 program which performs this function is the
  96.   device driver 'HIMEM.SYS'. Other programs such as QEMM, 386^MAX et.al.
  97.   also provide this function. The HMA is managed as a total unit, i.e.
  98.   only one program 'owns' it, and 'owns' it all. This is where most of
  99.   DOS is placed when you use HIMEM.SYS and the 'DOS=HIGH' command. As
  100.   stated before, when DOS is loaded 'high', no other program can use
  101.   this portion of memory. The definition of this area and its use is
  102.   standardized in the Extended Memory Specification ( XMS ) issued by
  103.   Microsoft / Lotus / Intel / AST Research, although there is question
  104.   as to where the credit for the 'discovery' of the area and its first
  105.   useage in real mode should go.
  106. UMB_DRVR.DOC       Version 5.21             02/03/92             Page 3
  107.  
  108.  
  109. INTRODUCTION continued
  110.  
  111.  
  112. EXTENDED MEMORY - Memory starting at 1M ( 100000 ) that is accessible by
  113.   the cpu in protected mode. On a 286, this range extends up to 16M-1
  114.   ( FFFFFF ), and on 386 and above cpus up to 16M-1 ( FFFFFF ) in 16-bit
  115.   mode and up to 4G-1 ( FFFFFFFF ) in 32-bit mode ( not used by vanilla
  116.   DOS, but possibly by some DOS extenders ). Under DOS, this memory is
  117.   accessed in several ways:
  118.  
  119.      1. BIOS INT 15H functions - This method is the oldest and least
  120.           standardized, but requires no special drivers. Programs
  121.           directly access the BIOS functions to utilize the memory, and
  122.           must take great pains to avoid 'stepping on' other users -
  123.           many different methods of 'marking' used memory exist, even
  124.           not marking at all.
  125.  
  126.      2. DOS EXTENDERS - These facilities are supplied by several vendors
  127.           including Phar-Lap and others. They are included within a
  128.           program and allow that program access to extended memory using
  129.           the extender's own techniques ( usually in protected mode ).
  130.  
  131.      3. XMS functions - This method is defined in the XMS standard that
  132.           was mentioned earlier. It offers a way for many different
  133.           programs to concurrently use extended memory easily without
  134.           worrying about the underlying memory management problems.
  135.           This method is the one used by all of the DOS 5 utilities that
  136.           use extended memory to provide their services. A device driver
  137.           is required to provide the XMS services. The DOS 5 driver is
  138.           'HIMEM.SYS'. QEMM and other programs also provide XMS access.
  139.           Most XMS servers including HIMEM.SYS will allow some portion
  140.           of extended memory to be left outside their control so that
  141.           programs using the BIOS INT 15H method can still work. Note
  142.           that DOS 5 *requires* XMS services to access the HMA to load
  143.           the major part of itself 'high'.
  144.  
  145. EXPANDED MEMORY - This is memory that conforms to the Expanded Memory
  146.   Specification put out by Lotus / Intel / Microsoft. It is sometimes
  147.   referred to as EMS, LIM 3.2, or LIM 4.0 memory. This type of memory
  148.   is not directly addressable by the cpu, but requires use of additional
  149.   facilities to be accessed. This memory is available via multiple 16K
  150.   'pages' in a ( usually ) 64K 'window' called the EMS base page area
  151.   within the 'Upper Memory Area', starting somewhere between C0000 and
  152.   E0000 on a 16K boundary. The cpu can access this 'window' in real mode
  153.   and uses the support facilities to map different 'pages' into the
  154.   'window'. Although the cpu can only access EMS memory totalling the
  155.   window size at any one time, it can 'move' the window to access all of
  156.   the expanded memory available.
  157. UMB_DRVR.DOC       Version 5.21             02/03/92             Page 4
  158.  
  159.  
  160.  
  161. INTRODUCTION continued
  162.  
  163.  
  164.  
  165.   Expanded ( EMS ) memory can be implemented in several ways:
  166.  
  167.     1. HARDWARE - Hardware support outside the cpu ( usually within the
  168.          support chip set on the motherboard, or on an expansion slot
  169.          card ) handles the mapping of the memory, controlled by a
  170.          software driver which merely flips hardware 'switches', and the
  171.          system runs under DOS in real mode with very little EMS
  172.          management cpu overhead.
  173.  
  174.     2. SIMULATED - This approach uses extended memory to simulate
  175.          expanded memory by moving 16K pages back and forth between
  176.          extended memory and the window ( usually *below* 640K, which
  177.          reduces the base memory area by the window size ). Although it
  178.          has the disadvantages of ( usually ) reducing base memory and
  179.          increasing the EMS management cpu overhead, it runs in real
  180.          mode on any 286 or higher processor without requiring anything
  181.          more than a software driver. This is the only software option
  182.          available for many 286 systems. An example of this type of
  183.          driver is XMA2EMS, distributed with some versions of DOS.
  184.  
  185.     3. EMULATED - This technique is a sort of cross between 1 and 2. It
  186.          uses the paging hardware built into 386 and newer processors
  187.          in conjunction with virtual-86 mode to do the mapping tasks
  188.          required to provide EMS memory. It is similar to 1 in that the
  189.          mapping is really done by the hardware, and to 2 in that it
  190.          also involves non-trivial software to provide the virtual-86
  191.          mode environment necessary for it to work. Its advantages are
  192.          that it works on any 386 or newer cpu without any other special
  193.          hardware and does not reduce the base memory like 2, but it
  194.          also has the drawback of restrictions, additional overhead and
  195.          complexity introduced by virtual-86 mode. There are several
  196.          packages that support this type of EMS, including EMM386.EXE
  197.          supplied with DOS 5, and programs like QEMM, 386^MAX, NETROOM,
  198.          and Memory Commander. Additionally, these EMS emulators can
  199.          provide the Upper Memory Area using the same techniques, and
  200.          generally are a good 'bang for the buck' in providing enhanced
  201.          system functionality for a relatively modest impact on system
  202.          processor overhead if you have the proper cpu.
  203. UMB_DRVR.DOC       Version 5.21             02/03/92             Page 5
  204.  
  205.  
  206. INTRODUCTION continued
  207.  
  208.  
  209.      UMB_DRVR.SYS is a DOS 5.0 device driver that will use the 'shadow
  210. ram' capability of the memory controller portion of many chip sets to:
  211.      A) force all roms not specifically excluded to be shadowed, and
  212.      B) expand DOS base memory beyond 640KB if possible, and
  213.      C) provide UMBs ( Upper Memory Blocks ) to DOS for loading
  214.         programs and device drivers into upper memory
  215. while *NOT* using any memory below 640K and remaining in *REAL* mode.
  216.      One advantage of this driver is that many if not all other device
  217. drivers and TSR programs may be loaded 'high' including HIMEM.SYS and
  218. EMM386.EXE ( even though the DOS documentation says not! ).
  219.      A second advantage of using UMB_DRVR is that some device drivers
  220. that cannot be loaded high when a software EMS emulator is providing the
  221. Upper Memory Area because of their use of DMA I/O ( this includes some
  222. CD-ROM drivers, for example ) will work with UMB_DRVR.SYS. This has to
  223. do with the characteristics of virtual-86 mode, 386+ memory management
  224. facilities, and DMA hardware interactions. See MISCELLANEOUS NOTES - DMA
  225. ACCESS TO UPPER MEMORY for more information and possible restrictions.
  226.      In addition, remaining in real mode allows programs that must be
  227. able to use protected or virtual-86 mode themselves, such as Borland's
  228. Turbo Debugger ( TD386.EXE / TDH386.SYS ), to operate as intended ( and
  229. yes, TDH386.SYS can be loaded high with no problems ).
  230.      With respect to performance of UMB_DRVR.SYS versus the software EMS
  231. emulator EMM386.EXE supplied with DOS 5, here are some benchmark results
  232. supplied by a ( happy ) user:
  233.  
  234. " System: 386SX 20Mhz, VLSI TOPCAT chip set, 4MB ram, no math processor.
  235.   DOS version: MS/DOS 5.0    UMB_DRVR.SYS version: 5.09
  236.   Benchmark: CHECKIT 3.0 main system benchmark.
  237.  
  238.   CONFIG.SYS                           Dhrystones Whetstones
  239.   ------------------------------------ ---------- ----------
  240.   None                                    3767       76.7K
  241.  
  242.  
  243.   DEVICE=C:\UMB_DRVR.SYS  /C=13           4042       77.1K
  244.   DEVICEHIGH=C:\DOS\HIMEM.SYS
  245.   DEVICEHIGH=C:\DOS\ANSI.SYS
  246.  
  247.  
  248.   DEVICE=C:\DOS\HIMEM.SYS                 3683       45.7K
  249.   DEVICE=C:\DOS\EMM386.SYS NOEMS
  250.   DEVICEHIGH=C:\DOS\ANSI.SYS
  251.  
  252.  
  253.   As you can see, there is a significant difference when using UMB_DRVR,
  254.   not to mention the extra memory saved below 640k.  The benchmarks ran
  255.   faster with UMB_DRVR than they did with no CONFIG.SYS at all. "
  256. UMB_DRVR.DOC       Version 5.21             02/03/92             Page 6
  257.  
  258.  
  259.  
  260. INTRODUCTION continued
  261.  
  262.  
  263.  
  264.      The driver must be installed *BEFORE* HIMEM.SYS is installed. It is
  265. an XMS 2.0 server providing UMBs to DOS via that standard. The chip
  266. set parameter is processed and the proper routine called to remap the
  267. unused shadow ram to DOS-useable memory. Available memory starting at
  268. A0000 is used to expand DOS base memory beyond 640K, and other available
  269. memory ( i.e. above the video memory ) is used for UMBs ( the areas
  270. DOS uses for DEVICEHIGH or LOADHIGH commands ).
  271.      The driver by default will not use any areas used for video memory.
  272. It also forces all roms including the system BIOS ( F0000-FFFFF ) to be
  273. shadowed unless forced to be excluded ( refer to MISCELLANEOUS NOTES for
  274. considerations concerning disk controllers and network cards ). If the
  275. BIOS has a 'boot page' at F0000-F7FFF that the driver can recognize
  276. ( containing system/CMOS setup code - AMI is one brand that has this ),
  277. that area will be mapped in as available upper memory since it is not
  278. needed after boot time.
  279.      The driver should be loaded as the first driver if possible. This
  280. allows following drivers and resident programs to be loaded high - even
  281. HIMEM.SYS and EMM386.SYS ( DOS documentation says they can't, but it
  282. works; see MISCELLANEOUS NOTES - WINDOWS and EMS DRIVERS, however ). It
  283. will initialize, supply UMBs, and terminate leaving a small stub above
  284. 640K. To ensure proper chip set function, all warm boots ( CTL+ALT+DEL )
  285. will be forced to be cold boots after UMB_DRVR is installed.
  286.      Appropriate status and error messages are issued during processing
  287. and a map of the driver's action is displayed.
  288.      One of my systems is a 386SX with the Chips and Technologies NEATsx
  289. chip set and an AMI ( American Megatrends ) BIOS dated 04/09/90. It has
  290. 4MB of ram and a Hercules Monochrome Graphics card. I configure 2MB of
  291. EMS memory with a base address of C0000-CFFFF using the NEATsx hardware
  292. and their supplied software driver. I load DOS high using HIMEM.SYS, and
  293. load Borland's Turbo Debugger device driver TDH386.SYS for 386 virtual
  294. debugging ( TD386.EXE ) and the ANSI.SYS console driver. Using UMB_DRVR
  295. defaults and loading all drivers high gives me 704K base memory for DOS,
  296. a maximum executable program size of 689K and 160K in one UMB located at
  297. D0000-F7FFF with almost 136K still free in that upper memory block for
  298. any other drivers or TSRs I may want to load.  The following information
  299. is extracted from that system ( Note: 1K = 1024 decimal ).
  300.  
  301.  
  302.      UMB_DRVR.SYS initializes showing:
  303.  
  304.  
  305. Chip-controlled ram at: AAAABBBBCCCCDDDDEEEEFFFF ([D]OS base memory,
  306.                         048C048C048C048C048C048C  [e]ms base page area,
  307. has been configured as: DDDDvvvveeeeUUUUUUUUUUss  [s]hadowed rom,
  308. DOS base memory expansion = 64K                   [U]pper memory area,
  309. Upper memory block ( UMB ) area = 160K            [v]ideo, [-]excluded)
  310. UMB_DRVR.DOC       Version 5.21             02/03/92             Page 7
  311.  
  312.  
  313.  
  314. INTRODUCTION continued
  315.  
  316.  
  317.  
  318.      The command 'MEM /C' displays the following:
  319.  
  320.  
  321. Conventional Memory :
  322.  
  323.   Name                Size in Decimal       Size in Hex
  324. -------------      ---------------------   -------------
  325.   MSDOS              12304      ( 12.0K)       3010
  326.   COMMAND             2624      (  2.6K)        A40
  327.   FREE                  64      (  0.1K)         40
  328.   FREE              705744      (689.2K)      AC4D0
  329.  
  330. Total  FREE :       705808      (689.3K)
  331.  
  332. Upper Memory :
  333.  
  334.   Name                Size in Decimal       Size in Hex
  335. -------------      ---------------------   -------------
  336.   SYSTEM            131152      (128.1K)      20050
  337.   HIMEM               1184      (  1.2K)        4A0
  338.   EMM_NEAT           11264      ( 11.0K)       2C00
  339.   ANSI                4192      (  4.1K)       1060
  340.   TDH386              7920      (  7.7K)       1EF0
  341.   FREE              139088      (135.8K)      21F50
  342.  
  343. Total  FREE :       139088      (135.8K)
  344.  
  345. Total bytes available to programs (Conventional+Upper) : 844896 (825.1K)
  346. Largest executable program size :                        705568 (689.0K)
  347. Largest available upper memory block :                   139088 (135.8K)
  348.  
  349.    2097152 bytes total EMS memory
  350.    2097152 bytes free EMS memory
  351.  
  352.    1048576 bytes total contiguous extended memory
  353.          0 bytes available contiguous extended memory
  354.     983040 bytes available XMS memory
  355.            MS-DOS resident in High Memory Area
  356.  
  357.  
  358.      *NOTE* - If the video card were a CGA and no EMS active, the upper
  359. memory ( UMB ) area would be 224K(!) with 178.8K(!) still available, the
  360. DOS base memory expansion would be 96K(!) with executable program size a
  361. whopping 721K(!) and extended memory would be 3145728 bytes with 3080192
  362. bytes of available XMS memory... a pretty good cure for 'ram cram'!
  363. UMB_DRVR.DOC       Version 5.21             02/03/92             Page 8
  364.  
  365.  
  366. MISCELLANEOUS NOTES
  367.  
  368.  
  369. BOOT PAGE
  370.  
  371.      If UMB_DRVR.SYS uses the 'boot page' area ( see INTRODUCTION for
  372. definition ) by default and your system crashes, you need to use the /M=
  373. parameter to force it to be part of the BIOS ( use '##' or '--' ). If no
  374. 'boot page' is recognized, you may still try the /M= parameter ( with
  375. '++' for F0000-F7FFF ) if you are brave enough. Heed the warning about
  376. having a bootable diskette, however - you may need it.
  377.  
  378.  
  379. EMS DRIVERS ( EMM386, QEMM, 386^MAX, NETROOM, MEMORY COMMANDER, ETC )
  380.  
  381.      If you run EMS, it is most efficient in terms of contiguous memory
  382. to have your EMS base address immediately following your video ram and
  383. any adjacent rom ( e.g. C0000-CFFFF for CGA or monochrome, C8000-D7FFF
  384. for VGA ) or at the top of the useable area ( e.g. E8000-F7FFF with a
  385. 'boot page', E0000-EFFFF without ).
  386.      It is also more efficient in terms of cpu usage overhead to use the
  387. hardware EMS driver for your chip set or your EMS memory card instead of
  388. a software emulation; see INTRODUCTION ( virtual-86 mode, benchmark ).
  389.      If you use an EMS driver ( hardware or software emulation ), you
  390. should use the /M= parameter to force UMB_DRVR to exclude the EMS base
  391. area. Make sure you *DO NOT* have your driver try to map in the upper
  392. memory ( 640K - 1M ) area ( other than the EMS base area ) - UMB_DRVR
  393. has done that already ( refer to your driver's documentation ). You
  394. should be able to use DEVICEHIGH/LOADHIGH to put your driver into upper
  395. memory in most cases.
  396.      Specific to EMM386.EXE, you should use the I= parameter to allow it
  397. to use the EMS base area, which *MUST* be above where EMM386 is loaded
  398. ( i.e. if you load it high, the base area must be above the UMB area ).
  399. Although you can't specify a frame= parameter of E800, using I=E800-F7FF
  400. will allow EMM386.EXE to set the frame there. DO *NOT* USE THE 'RAM' OR
  401. 'NOEMS' PARAMETERS! In addition, there have been reports of problems
  402. with EMM386.EXE, Windows 3.0 and UMB_DRVR all together, resulting in
  403. unexpected system reboots. EMM386 even without the 'ram' and 'noems'
  404. parameters still tries to control some of upper memory, and when certain
  405. ( as yet undetermined ) situations occur, things can become 'unstable'.
  406.  
  407.  
  408. ROMS THAT CANNOT BE SHADOWED ( DISK CONTROLLERS, NETWORK CARDS )
  409.  
  410.      Some roms cannot be shadowed by normal means because they have some
  411. ram or a memory-mapped I/O port they must use included in their address
  412. space ( e.g. some RLL, ESDI and SCSI disk controllers, and also some
  413. network cards ) and shadowing is done using protected ram. These roms
  414. will sometimes work when shadowed by this driver if they are within a
  415. protection block also containing UMBs. Try letting UMB_DRVR shadow the
  416. rom and see if it works. If your system hangs up or you have problems
  417. with disk or network access with the rom shadowed, you must use the /M=
  418. parameter to exclude it from UMB_DRVR.SYS control. Refer to CHIP-SET-
  419. SPECIFIC NOTES for any special considerations.
  420. UMB_DRVR.DOC       Version 5.21             02/03/92             Page 9
  421.  
  422.  
  423. MISCELLANEOUS NOTES continued
  424.  
  425.  
  426. DMA ACCESS TO UPPER MEMORY
  427.  
  428.      DMA ( Direct Memory Access ) is a method of data transfer between
  429. main memory ( ram ) and I/O devices without requiring cpu intervention.
  430. Standard AT-compatible floppy disk controllers use it, as do some other
  431. devices, such as CD-ROMs and data acquisition hardware. It is supported
  432. through the Intel 8237A DMA controller chip, or by compatible integrated
  433. devices like the 82C206, or even by compatible components within the
  434. motherboard chip set. These devices control the data / address busses in
  435. the system to do the transfer while the cpu does other work. They do not
  436. have access to the internal 386+ cpu memory management facilities during
  437. their operation, and so are unaware of remapping of memory done there.
  438. Most of the time this is not a concern, as software that handles the
  439. remapping also handles DMA setup by intercepting accesses to the DMA
  440. controller registers and trying to keep things straight for DMA I/O.
  441. This can become a concern if the DMA transfer spans a page boundary that
  442. in virtual memory is to an adjacent page, but in real memory is not.
  443. Most of the 386-type mappers either automatically or through parameters
  444. try to avoid this situation by causing the area to be mapped ( as much
  445. as possible ) into contiguous memory.
  446.      UMB_DRVR, on the other hand, uses hardware external to the cpu that
  447. maps in the upper memory area contiguously such that DMA access to the
  448. upper memory area is no different than to the base 640K. The DMA mapping
  449. requirememts that the device drivers are aware of for a 'standard AT'
  450. system do not change when UMB_DRVR provides the upper memory area. Note
  451. that some drivers still cannot load high because they are 'confused' by
  452. being at a higher address in memory than the program that is using them,
  453. but this is becoming much less common as drivers are rewritten to be
  454. able to take advantage of the DOS 5 high memory capabilities.
  455.      One consideration remains, however: a *VERY* few chip sets that are
  456. supported by UMB_DRVR are designed such that the ram that is mapped into
  457. the upper memory area can only be accessed by the cpu. UMB_DRVR performs
  458. a test for proper DMA function at initialization and issues a warning
  459. message if DMA is not possible to the upper memory area. If ( and *ONLY*
  460. if ) this is the case, any DMA accesses attempted to an area above 640K
  461. and below 1M will not work, and the following restrictions will apply:
  462.      (1) If you boot from a floppy disk or try to load any driver or
  463.          TSR high reading it from a floppy, do not load UMB_DRVR.SYS -
  464.          if you do, your system will probably hang up immediately upon
  465.          trying to load anything into upper memory.
  466.      (2) Almost no hard disk controllers use DMA, but if you have one
  467.          that does, you will probably have problems with loading any
  468.          driver or TSR into upper memory, and you may not be able to
  469.          use UMB_DRVR at all.
  470.      (3) Device drivers that use DMA for access to buffers within the
  471.          driver itself, or allocated immediately after the driver when
  472.          it initializes, cannot be loaded high on your system.
  473.      (4) No DOS base memory expansion from unused video memory should
  474.          be used ( all DOS base ram should be capable of DMA access ).
  475.      Note that these restrictions apply *ONLY* if DMA access to upper
  476. memory is *NOT* available, i.e. if UMB_DRVR issues the warning message.
  477. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 10
  478.  
  479.  
  480. MISCELLANEOUS NOTES continued
  481.  
  482.  
  483. MICROSOFT WINDOWS
  484.  
  485.      Windows 3.0 and 3.0A have been tested as follows:
  486.  
  487. 386 Enhanced mode:
  488.      Windows will run in 386 enhanced mode with UMB_DRVR if the line
  489.           EMMExclude=A000-FFFF
  490. is added to the SYSTEM.INI file, [386Enh] section. Note that a practical
  491. minimum of 4MB of ram on your system is suggested to run in this mode.
  492. Also note that SETVER.EXE must be loaded LOW, and ANSI.SYS ( if used )
  493. must be loaded LOW. There may be other drivers like this... experiment.
  494.  
  495. Standard mode:
  496.      Windows in standard mode works with UMB_DRVR and HIMEM.SYS, with or
  497. without an EMS driver ( hardware or software ) loaded high or low. Note
  498. you must have a minimum of something like 512K or more extended memory
  499. to run in standard mode - i.e. do not have a software EMS driver remap
  500. ALL of your extended memory to expanded.
  501.  
  502. Real mode:
  503.      Windows runs in real mode with UMBs provided by UMB_DRVR.SYS,
  504. HIMEM.SYS loaded high, and EMM386.EXE loaded *LOW*, giving 'large frame
  505. EMS'. You can remap all extended memory to expanded in this setup.
  506.  
  507.  
  508. PROGRAM ACCESS TO UPPER MEMORY WITH DOS 5 MANAGING UMBS
  509.  
  510. 1. Record current status of memory system so you can restore it.
  511. int 21H/ax=5800h - returns al=strategy ( see below )
  512. int 21h/ax=5802h - returns al=UMB link state ( see below )
  513.  
  514. 2. Set up for memory allocation / deallocation.
  515. int 21h/ax=5801h/bh=0/bl=strategy    int 21h/ax=5803h/bh=0/bl=UMB status
  516.   00h - first fit, low memory          00h = remove UMBs from mem chain
  517.   01h - best   "    "    "             01h = add UMBs to mem chain
  518.   02h - last   "    "    "           ( UMBs must be chained for access )
  519.   40h - first fit, high memory
  520.   41h - best   "    "     "
  521.   42h - last   "    "     "
  522.   80h - first fit, try high then low memory
  523.   81h - best   "    "   "    "    "    "
  524.   82h - last   "    "   "    "    "    "
  525.  
  526. 3. Do normal int 21h/ah=48h, int 21h/ah=49h, int 21h/ah=4Ah as desired.
  527.  
  528. 4. Restore values saved in step 1 above.
  529.  
  530.      The system defaults to first-fit-low with UMBs not chained. If you
  531. chain the UMBs, strategies 00/01/02 affect the entire chain. For example
  532. with the UMBs chained and strategy 00, you will get memory from the UMB
  533. area if the request cannot be satisfied from low memory.
  534. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 11
  535.  
  536.  
  537.  
  538. DETERMINING YOUR CHIP SET
  539.  
  540.      If your system documentation or CMOS setup screen does not tell you
  541. what chip set you have, the best way to find out is to open the cover on
  542. your system and look at the motherboard. *MAKE SURE THE SYSTEM IS OFF
  543. AND UNPLUGGED* when you do this. The chip you will be looking for may
  544. not be one of the larger in size, but it will have many ( usually 80+,
  545. sometimes up to 200 or more ) pins. The number that identifies the key
  546. chip in the set is listed in CHIP-SET-SPECIFIC NOTES for each chip set
  547. supported. If you find a matching number on one of the chips on your
  548. motherboard, use the /C= value shown for that set. If you don't see a
  549. match, refer to the sections BAD NEWS, MAYBE?, and COMING ATTRACTIONS.
  550.      Note that some chips only contain peripheral support and *DO NOT*
  551. indicate what chip set you have. These include 82C206 ( many brands ),
  552. 82C601, 82C710, 82C711 ( Chips and Technologies ), VL82C106, VL82C107,
  553. VL86C050, VL16C45x, VL16C55x ( VLSI Technology ), 82C452, 85C206
  554. ( Silicon Integrated Systems ), and TACT82206 ( Texas Instruments ).
  555. Again, these chip numbers *DO NOT* indicate what chip set you have.
  556.  
  557.  
  558.  
  559. CHIP-SET-SPECIFIC NOTES
  560.  
  561.  
  562.  
  563. ****************************************
  564. * User-Specified Available Memory mode *
  565. ****************************************
  566. /C=00 - Chip ID(s): None ( 286, 386SX, 386DX, 486 )
  567.  
  568.      This selection causes UMB_DRVR to map the areas specified in the
  569. /M= parameter, using the '+' ( plus ) character, as upper memory. Please
  570. note the following points when using this mode:
  571.      (1) This mode *CANNOT BE USED* unless you have a way to actually
  572.            map read-write ram into the area between 640K ( A0000 ) and
  573.            1M ( 100000 ) through your CMOS setup or some other program
  574.            provided by your system or chip-set manufacturer, or a memory
  575.            expansion card that maps ram into that area on the AT bus.
  576.      (2) No verification or manipulation of any chip set is done.
  577.      (3) Rom shadowing is totally controlled by your system BIOS and
  578.            CMOS setup parameters.
  579.      (4) No checking is performed other than the memory read-write and
  580.            DMA tests.
  581.      (5) Warm boots are *NOT* forced to be cold boots.
  582.      (6) It is *YOUR RESPONSIBILITY* to properly determine and specify
  583.            which areas can be used.
  584. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 12
  585.  
  586.  
  587. CHIP-SET-SPECIFIC NOTES continued
  588.  
  589.  
  590. *******************************************************
  591. * Chips & Technologies CS8221 NEAT, CS8281 NEATsx,    *
  592. *                   CS8223 LeAPset, CS8283 LeAPset-sx *
  593. * Texas Instruments TACT82S411 Single Chip AT         *
  594. * United Microelectronics (UMC) UM82C210 286/386SX AT *
  595. *******************************************************
  596. /C=01 - Chip ID(s): ( C & T ) 82C212, 82C241 ( 286 )
  597.                               82C812, 82C841 ( 386SX );
  598.                     ( TI ) TACT82S411 ( 286, 386SX );
  599.                     ( UMC ) UM82C212 ( 286, 386SX )
  600.  
  601.      These chip sets allow the 384k of motherboard ram at A0000-FFFFF to
  602. relocate to extended memory at 100000-15FFFF on systems with only 1mb of
  603. ram. If this remapping is enabled when UMB_DRVR.SYS enables this area,
  604. the remapping is removed and the size of your extended memory is reduced
  605. by 384k, i.e. it disappears. Note that this applies only to systems with
  606. *EXACTLY* 1MB of memory.
  607.      These chip sets map in 16k segments, but write protection for the
  608. area C0000-FFFFF is in 64k segments. To allow maximum memory utilization
  609. the driver marks any segment containing UMBs as read/write. If the 64k
  610. segment also contains a rom shadow, it is not protected.
  611.      Although it should not be necessary, if you wish to have a rom be
  612. shadowed and protected, exclude any non-rom areas within the 64k segment
  613. ( e.g. for a VGA rom at C0000-C7FFF, exclude C8000-CFFFF ).
  614.      If you must force a rom to be unshadowed, you need only exclude the
  615. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  616. C8000-CBFFF ).
  617.      UMB_DRVR.SYS will recognize the EMS setup for these chip sets and
  618. will exclude the EMS base segment if the EMS hardware is enabled when
  619. UMB_DRVR initializes. Use of the /M= parm is not required in this case.
  620.  
  621.  
  622. ****************************
  623. * VLSI Technology VL82C200 *
  624. ****************************
  625. /C=02 - Chip ID(s): VL82C201,VL82C202,VL82C203,VL82C204 ( 286, 386SX )
  626.                     ( all 4 chips required )
  627.  
  628.      This chip set uses a jumper or switch to enable shadow ram ability.
  629. This does not actually cause shadowing, but must be in proper position
  630. for UMB_DRVR.SYS to work. Check your system documentation.
  631.      This chip set maps and protects in 64k segments. To allow maximum
  632. memory utilization, 64k segments containing UMBs are set to read/write.
  633. If the 64k segment also contains a rom shadow, it is not protected.
  634.      Although it should not be necessary, if you wish to have a rom be
  635. shadowed and protected, exclude any non-rom areas within the 64k segment
  636. ( e.g. for a VGA rom at C0000-C7FFF, exclude C8000-CFFFF ).
  637.      If you must force a rom to be unshadowed, exclude the entire 64k
  638. segment on a 64k boundary ( e.g. for a disk rom at C8000-CBFFF, exclude
  639. C0000-CFFFF ).
  640. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 13
  641.  
  642.  
  643.  
  644. CHIP-SET-SPECIFIC NOTES continued
  645.  
  646.  
  647.  
  648. *******************
  649. * FOREX FRX36C300 *
  650. *******************
  651. /C=03 - Chip ID(s): FRX36C300 ( 386DX )
  652.  
  653.      This chip set maps in 32k segments from C0000 to EFFFF, and one 64k
  654. segment for the system BIOS ( F0000-FFFFF ).  Ram at A0000-BFFFF is
  655. always remapped to the highest area and cannot be used by the driver.
  656. Protection is set globally, meaning that all used ram ( shadow or UMBs )
  657. is marked read/write.
  658.      The chip set also remaps D0000-EFFFF to the highest area if there
  659. is nothing shadowed in that area. When UMB_DRVR.SYS enables this area,
  660. the remapping is removed and the size of your extended memory is reduced
  661. by 128k.
  662.      If you must force a rom to be unshadowed, exclude the entire 32k
  663. segment on a 32k boundary ( e.g. for a disk rom at C8000-CBFFF, exclude
  664. C8000-CFFFF ).
  665.  
  666.  
  667.  
  668. *******************************************************************
  669. * Chips & Technologies CS8230 386/AT, CS8231 Turbo Cache 386/AT,  *
  670. *                      CS8233 PEAKset/386, CS82310 PEAKset DM/386 *
  671. *******************************************************************
  672. /C=04 - Chip ID(s): 82C302, 82C307, 82C311, 82C351 ( 386DX )
  673.  
  674.      These chip sets maps in 16k segments, but write protection for the
  675. area C0000-FFFFF is in 64k segments. To allow maximum memory utilization
  676. the driver marks any segment containing UMBs as read/write. If the 64k
  677. segment also contains a rom shadow, it is not protected.
  678.      Although it should not be necessary, if you wish to have a rom be
  679. shadowed and protected, exclude any non-rom areas within the 64k segment
  680. ( e.g. for a VGA rom at C0000-C7FFF, exclude C8000-CFFFF ).
  681.      If you must force a rom to be unshadowed, you need only exclude the
  682. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  683. C8000-CBFFF ).
  684. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 14
  685.  
  686.  
  687. CHIP-SET-SPECIFIC NOTES continued
  688.  
  689.  
  690. ******************************************************************
  691. * Chips & Technologies 82C235 SCAT, 82C836 SCATsx, CB8291 ELEAT, *
  692. *                      CB8295 ELEATsx, CS8285 PEAKset-sx,        *
  693. *                      CS8227 CHIPSlite, CS8288 CHIPSlite-sx     *
  694. ******************************************************************
  695. /C=05 - Chip ID(s): 82C235 ( 286 ), 82C836 ( 386SX )
  696.  
  697.      These chip sets allow the 384k of motherboard ram at A0000-FFFFF to
  698. relocate to extended memory at 100000-15FFFF on systems with only 1mb of
  699. ram. If this remapping is enabled when UMB_DRVR.SYS enables this area,
  700. the remapping is removed and the size of your extended memory is reduced
  701. by 384k, i.e. it disappears. Note that this applies only to systems with
  702. *EXACTLY* 1MB of memory.
  703.      These chip sets map in 16k segments, but write protection for the
  704. area C0000-FFFFF is in 32k segments. To allow maximum memory utilization
  705. the driver marks any segment containing UMBs as read/write. If the 32k
  706. segment also contains a rom shadow, it is not protected.
  707.      Although it should not be necessary, if you wish to have a rom be
  708. shadowed and protected, exclude any non-rom areas within the 32k segment
  709. ( e.g. for a rom at C8000-CBFFF, exclude CC000-CFFFF ).
  710.      If you must force a rom to be unshadowed, you need only exclude the
  711. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  712. C8000-CBFFF ).
  713.  
  714.  
  715. ************************
  716. * ETEQ Micro COUGAR II *
  717. ************************
  718. /C=06 - Chip ID(s): 82C491 ( 386DX, 486 )
  719.  
  720.      This chip set maps in 16k segments from C0000 to EFFFF, and one 64k
  721. segment for the system BIOS ( F0000-FFFFF ). Memory protection is done
  722. in 64k segments from C0000 to EFFFF. The hardware does not allow read /
  723. write access to the area F0000-FFFFF - i.e. the rom can be shadowed and
  724. protected, but the driver cannot use the boot page. The driver also
  725. cannot use the ram at A0000-BFFFF.
  726.      The chip set can remap A0000-BFFFF and D0000-EFFFF to the highest
  727. area if no shadowing is done in that area. If this remapping is enabled
  728. and UMB_DRVR.SYS enables the area D0000-EFFFF, the remapping is removed
  729. and the size of your extended memory is reduced by 256k.
  730.      Although it should not be necessary, if you wish to have a rom be
  731. shadowed and protected, exclude non-rom areas within the 64k segment:
  732.  e.g. for a rom at C8000-CBFFF, exclude C0000-C7FFF and CC000-CFFFF. If
  733. you have a VGA rom at C0000-C7FFF, you only need exclude CC000-CFFFF.
  734.      If you must force a rom to be unshadowed, you need only exclude the
  735. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  736. C8000-CBFFF ).
  737. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 15
  738.  
  739.  
  740. CHIP-SET-SPECIFIC NOTES continued
  741.  
  742.  
  743. ***************************
  744. * OPTi Sx/AT, Sx/AT Cache *
  745. ***************************
  746. /C=07 - Chip ID(s): 82C281, 82C282, 82C283 ( 386SX )
  747.  
  748.      These chip sets maps in 16k segments from C0000 to EFFFF, and one
  749. 64k segment for the system BIOS ( F0000-FFFFF ). Memory protection is
  750. in 64k segments from C0000 to EFFFF. The hardware does not allow read /
  751. write access to the area F0000-FFFFF - i.e. the rom can be shadowed and
  752. protected, but the driver cannot use the boot page. The driver also
  753. cannot use the ram at A0000-BFFFF.
  754.      These chip sets can remap A0000-BFFFF and D0000-EFFFF to the high
  755. end of extended memory if no shadowing is done in either area. If this
  756. remapping is enabled and UMB_DRVR.SYS enables the area D0000-EFFFF, the
  757. remapping is removed and the size of your extended memory is reduced by
  758. 256k.
  759.      Although it should not be necessary, if you wish to have a rom be
  760. shadowed and protected, exclude non-rom areas within the 64k segment:
  761.  e.g. for a rom at C8000-CBFFF, exclude C0000-C7FFF and CC000-CFFFF. If
  762. you have a VGA rom at C0000-C7FFF, you only need exclude CC000-CFFFF.
  763.      If you must force a rom to be unshadowed, you need only exclude the
  764. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  765. C8000-CBFFF ).
  766.  
  767.  
  768. ********************
  769. * OPTi DX/BB PC/AT *
  770. ********************
  771. /C=08 - Chip ID(s): 82C496 ( 386DX, 486 )
  772.  
  773.      This chip set maps in 16k segments from C0000 to EFFFF, and one 64k
  774. segment for the system BIOS ( F0000-FFFFF ). Memory protection is done
  775. in 64k segments from C0000 to EFFFF. The hardware does not allow read /
  776. write access to the area F0000-FFFFF - i.e. the rom can be shadowed and
  777. protected, but the driver cannot use the boot page. The driver also
  778. cannot use the ram at A0000-BFFFF.
  779.      The chip set can remap A0000-BFFFF and D0000-EFFFF to the highest
  780. area if no shadowing is done in that area. If this remapping is enabled
  781. and UMB_DRVR.SYS enables the area D0000-EFFFF, the remapping is removed
  782. and the size of your extended memory is reduced by 256k.
  783.      Although it should not be necessary, if you wish to have a rom be
  784. shadowed and protected, exclude non-rom areas within the 64k segment:
  785.  e.g. for a rom at C8000-CBFFF, exclude C0000-C7FFF and CC000-CFFFF. If
  786. you have a VGA rom at C0000-C7FFF, you only need exclude CC000-CFFFF.
  787.      If you must force a rom to be unshadowed, you need only exclude the
  788. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  789. C8000-CBFFF ).
  790. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 16
  791.  
  792.  
  793. CHIP-SET-SPECIFIC NOTES continued
  794.  
  795.  
  796. ***********************************
  797. * OPTi 386WB PC/AT, 486SXWB PC/AT *
  798. ***********************************
  799. /C=09 - Chip ID(s): 82C391 ( 386DX ), 82C493 ( 486 )
  800.  
  801.      These chip sets maps in 16k segments from C0000 to EFFFF, and one
  802. 64k segment for the system BIOS ( F0000-FFFFF ). Memory protection is
  803. done in 64k segments from C0000 to EFFFF. The hardware does not allow
  804. read / write access to ram at F0000-FFFFF - i.e. the rom can be shadowed
  805. and protected, but the driver cannot use the boot page. The driver also
  806. cannot use the ram at A0000-BFFFF.
  807.      Although it should not be necessary, if you wish to have a rom be
  808. shadowed and protected, exclude non-rom areas within the 64k segment:
  809.  e.g. for a rom at C8000-CBFFF, exclude C0000-C7FFF and CC000-CFFFF. If
  810. you have a VGA rom at C0000-C7FFF, you only need exclude CC000-CFFFF.
  811.      If you must force a rom to be unshadowed, you need only exclude the
  812. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  813. C8000-CBFFF ).
  814.  
  815.  
  816. ***********************
  817. * OPTi 386/486WB EISA *
  818. ***********************
  819. /C=10 - Chip ID(s): 82C682 ( 386DX, 486 )
  820.  
  821.      This chip set maps and protects in 16k segments at C0000-DFFFF, one
  822. 64k segment at E0000 and one 64k segment for the system BIOS at F0000.
  823. The the driver cannot use the ram at A0000-BFFFF.
  824.      If one of the 64k segments contains both shadowed rom and UMB area,
  825. it is marked read/write. All roms in the C0000-DFFFF area are protected.
  826.      If you must force a rom to be unshadowed, you need only exclude the
  827. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  828. C8000-CBFFF ) unless it is in the E0000 block or you wish to force the
  829. BIOS ( F0000-FFFFF) to be unshadowed. Then you must exclude the entire
  830. 64k block ( E0000-EFFFF and/or F0000-FFFFF ).
  831.  
  832.  
  833. ****************************************
  834. * Elite Microelectronics Eagle, Falcon *
  835. ****************************************
  836. /C=11 - Chip ID(s): e88C311 ( 386DX ), e88C411 ( 486 )
  837.  
  838.      These chip sets map and protect in 16k segments for the entire area
  839. C0000-FFFFF. All shadowed roms are write-protected. UMB_DRVR cannot use
  840. the ram at A0000-BFFFF.
  841.      These sets always remap A0000-BFFFF to the highest memory area, and
  842. can selectively remap C0000-FFFFF in 64k blocks if no shadowing is done
  843. within the 64k block. If this remapping is active and UMB_DRVR enables
  844. shadow memory within one of the remapped 64k blocks, the remapping is
  845. removed and the size of your extended memory is reduced.
  846.      If you must force a rom to be unshadowed, you need only exclude the
  847. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  848. C8000-CBFFF ).
  849. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 17
  850.  
  851.  
  852. CHIP-SET-SPECIFIC NOTES continued
  853.  
  854.  
  855. *************************
  856. * VLSI Technology SCAMP *
  857. *************************
  858. /C=12 - Chip ID(s): VL82C310, VL82C311 ( 286, 386SX ), VL82C311L ( 286 )
  859.  
  860.      These chip sets map and protect in 32k segments for A0000-BFFFF,
  861. 16k segments for C0000-DFFFF, and 32k segments for E0000-FFFFF. If a
  862. rom shadow shares a 32k segment from E0000 to FFFFF with a UMB area, it
  863. is marked read/write. Any shadowed rom from C0000-DFFFF is protected, as
  864. is any 32k segment from E0000 to FFFFF that is all shadowed rom.
  865.      These sets can remap A0000-FFFFF to the highest memory area if no
  866. shadowing is done and system memory is 1MB, 2MB, 3MB or 4MB. If remap
  867. is active and UMB_DRVR enables any shadow memory, the remapping is
  868. removed and the size of your extended memory is reduced. Note that this
  869. applies only to systems with *EXACTLY* 1MB, 2MB, 3MB or 4MB installed.
  870.      If you must force a rom to be unshadowed, you need only exclude the
  871. 16k segment(s) it occupies if it is between C0000 and DFFFF ( e.g. for a
  872. disk rom at C8000-CBFFF, exclude C8000-CBFFF ). If it is between E0000
  873. and FFFFF, exclude all areas in the 32k segment ( e.g. for a disk rom at
  874. E0000-E3FFF, exclude E0000-E7FFF ).
  875.  
  876.  
  877. *********************************************
  878. * VLSI Technology VL82C286, VL82C386 TOPCAT * ( These sets are all made
  879. * Intel 82340SX, 82340DX                    *     by VLSI Technology )
  880. *********************************************
  881. /C=13 - Chip ID(s): ( VLSI ) VL82C320 ( 286, 386SX ), VL82C330 ( 386DX )
  882.                              VL82C320A ( 286, 386SX, 486 )
  883.                     ( Intel ) 82343, 82346 ( 286, 386SX )
  884.                               82343A ( 286, 386SX, 486 )
  885.  
  886.      These chip sets map in 16k segments for the entire area from A0000
  887. to FFFFF and protect in 16k segments from C0000 to FFFFF. All shadowed
  888. rom areas are protected. The video area ( A0000-BFFFF ) and the 'boot
  889. page' ( F0000-F7FFF ) can only be utilized on the VL82C320 / 82343 'A'
  890. revisions ( this implementation was chosen to avoid the DMA limitation;
  891. see MISCELLANEOUS NOTES - DMA ACCESS TO UPPER MEMORY ). UMB_DRVR will
  892. recognize the various chips and enforce these restrictions accordingly.
  893.      These sets can remap A0000-FFFFF to the high end of extended memory
  894. if no shadowing is done and system memory is exactly 1MB or 2MB. If this
  895. remapping is active and UMB_DRVR enables shadow memory, the remapping is
  896. removed and the size of your extended memory is reduced. Note that this
  897. applies only if the system memory size is *EXACTLY* 1MB or 2MB.
  898.      If you must force a rom to be unshadowed, you need only exclude the
  899. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  900. C8000-CBFFF ).
  901. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 18
  902.  
  903.  
  904. CHIP-SET-SPECIFIC NOTES continued
  905.  
  906.  
  907. *******************************
  908. * OPTi HiD/386 AT, HiB/486 AT *
  909. *******************************
  910. /C=14 - Chip ID(s): 82C382 ( 386DX ), 82C482 ( 486 )
  911.  
  912.      These chip sets map in 16k segments from C0000 to EFFFF and one 64k
  913. segment for the system BIOS ( F0000-FFFFF ). Memory protection is done
  914. in 64k segments from C0000 to EFFFF. The hardware does not allow read /
  915. write access to the area F0000-FFFFF - i.e. the rom can be shadowed and
  916. protected, but the driver cannot use the boot page. The driver also
  917. cannot use the ram at A0000-BFFFF.
  918.      The chip sets can remap A0000-BFFFF and D0000-EFFFF to the highest
  919. area if no shadowing is done in that area. If this remapping is enabled
  920. and UMB_DRVR.SYS enables the area D0000-EFFFF, the remapping is removed
  921. and the size of your extended memory is reduced by 256k.
  922.      Although it should not be necessary, if you wish to have a rom be
  923. shadowed and protected, exclude non-rom areas within the 64k segment:
  924.  e.g. for a rom at C8000-CBFFF, exclude C0000-C7FFF and CC000-CFFFF. If
  925. you have a VGA rom at C0000-C7FFF, you only need exclude CC000-CFFFF.
  926.      If you must force a rom to be unshadowed, you need only exclude the
  927. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  928. C8000-CBFFF ).
  929.  
  930.  
  931. *********************************************
  932. * Sun Electronics SUNTAC ST62CS24, ST62CS25 *
  933. *********************************************
  934. /C=15 - Chip ID(s): ST62C241 ( 286 ), ST62C251 ( 286, 386SX )
  935.  
  936.      These chip sets have two memory-mapping modes: one for extended
  937. memory and one for expanded ( EMS ) memory. You must have your system
  938. configured for extended memory only for UMB_DRVR to recognize the chip
  939. set. Also, some BIOSs ( e.g. newer AMI ) relocate the video rom before
  940. shadowing it. This causes UMB_DRVR to hang during initialization. If
  941. this occurs, turn off video shadowing in your CMOS / extended setup. The
  942. driver will shadow your video rom when it sets up the upper memory area.
  943. See your CMOS setup or system documentation.
  944.      These chip sets map and protect in 16k segments from C0000 to DFFFF
  945. and in 32k segments from E0000 to FFFFF.  The driver cannot use the ram
  946. at A0000-BFFFF. All shadowed roms from C0000 to DFFFF and the system
  947. BIOS are protected.
  948.      The chip sets always remap A0000-DFFFF to the highest area, and
  949. remap E0000-FFFFF there if no shadowing is done. UMB_DRVR must remove
  950. the remapping for E0000-FFFFF if active, and must use some extended
  951. memory to supply the upper memory area. Your extended memory size will
  952. be adjusted accordingly.
  953.      If you must force a rom to be unshadowed, you need only exclude the
  954. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  955. C8000-CBFFF ).
  956. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 19
  957.  
  958.  
  959. CHIP-SET-SPECIFIC NOTES continued
  960.  
  961.  
  962. *******************************
  963. * Texas Instruments TACT83000 *
  964. *******************************
  965. /C=16 - Chip ID(s): TACT83442 ( 386SX, 386DX, 486 )
  966.  
  967.      This chip set maps in 16k segments from A0000 to FFFFF, and memory
  968. protection is done in 16k segments from C0000 to FFFFF. All shadowed
  969. roms are protected.
  970.      The chip set can remap any 64k segment from A0000 to FFFFF not used
  971. for shadowing to the upper end of extended memory. If this remapping is
  972. active and UMB_DRVR.SYS uses any of the remapped area, the remapping is
  973. removed and the size of your extended memory is reduced.
  974.      If you must force a rom to be unshadowed, you need only exclude the
  975. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  976. C8000-CBFFF ).
  977.  
  978.  
  979. *****************************************************
  980. * Silicon Integrated Systems High Performance 80386 *
  981. *****************************************************
  982. /C=17 - Chip ID(s): 85C310 ( 386DX )
  983.  
  984.      This chip set maps in 16k segments from C0000 to DFFFF, and two 64k
  985. segments for E0000 and F0000. Memory protection is global, so no shadow
  986. areas are protected. The driver cannot use the area from A0000 to BFFFF.
  987.      The chip set, depending on memory configuration, can remap either
  988. 256K or 384K of unused shadow area to the upper end of extended memory.
  989. If this remapping is active and UMB_DRVR uses any of the remapped area,
  990. the remapping is removed and your extended memory size is reduced.
  991.      If you must force a rom to be unshadowed, you need only exclude the
  992. 16k segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  993. C8000-CBFFF ).
  994.  
  995.  
  996. ******************************************************
  997. * Silicon Integrated Systems High Performance ISA486 *
  998. ******************************************************
  999. /C=18 - Chip ID(s): 85C401 ( 486 )
  1000.  
  1001.      This chip set maps in 32k segments from C0000 to EFFFF, and one 64k
  1002. segment for F0000. Memory protection is global, so no shadowed areas are
  1003. protected. The driver cannot use the area from A0000 to BFFFF.
  1004.      If you must force a rom to be unshadowed, you must exclude the 32k
  1005. segment(s) it occupies ( e.g. for a disk rom at C8000-CBFFF, exclude
  1006. C8000-CFFFF ).
  1007. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 20
  1008.  
  1009.  
  1010. INSTALLATION
  1011.  
  1012.      *PLEASE BE SURE YOU HAVE REVIEWED THE MISCELLANEOUS AND CHIP-SET-
  1013. SPECIFIC NOTES* prior to installing. Also, make sure you have backed-up
  1014. your system and that you have a diskette you can boot from in case you
  1015. have problems with your CONFIG.SYS settings.
  1016.      Installation ( preferably as the first driver ) is via the lines:
  1017.  
  1018.          DEVICE=UMB_DRVR.SYS /C=nn [/M=ssssssssssssssssssssssss]
  1019.          DOS=[HIGH|LOW],UMB  ( *REQUIRED* - turn on DOS 5 UMB support )
  1020.  
  1021. in your CONFIG.SYS file. The /C= parameter is required - nn is the chip
  1022. set from 'CHIP-SET-SPECIFIC NOTES'. The /M= parameter is optional and is
  1023. used to override defaults. It contains characters corresponding to 16K
  1024. memory blocks at the following addresses:
  1025.  
  1026.           /M=ssssssssssssssssssssssss
  1027.         A0000'||||||||||||||||||||||`FC000---| Only '..' and '--' may be
  1028.          A4000'||||||||||||||||||||`F8000----| used for the system BIOS.
  1029.   Video   A8000'||||||||||||||||||`F4000--|
  1030.    RAM     AC000'||||||||||||||||`F0000---| '..', '--', '++', and '##'
  1031.     area    B0000'||||||||||||||`EC000    | may be used for boot page.
  1032.              B4000'||||||||||||`E8000     | Use '##' to force area to be
  1033.               B8000'||||||||||`E4000      | shadowed as part of BIOS.
  1034.                BC000'||||||||`E0000
  1035.                      |||||||`DC000
  1036.                      ||||||`D8000     Upper
  1037.                      |||||`D4000       Memory
  1038.                      ||||`D0000         area
  1039.                      |||`CC000
  1040.                      ||`C8000
  1041.                      |`C4000
  1042.                      `C0000
  1043.  
  1044.            s = '.' Allow default use of block
  1045.                '-' Force block to be unused and unshadowed
  1046.                '+' Force block usage for UMBs or DOS base ram expansion
  1047.  
  1048. The /M= parameter must always be supplied as all 24 characters, using
  1049. the '.' character to fill any positions not forced on or off. For
  1050. example, on a VGA system using video memory from A0000 to BFFFF, if
  1051. it is in CGA 80 x 25 mode, the only video memory in use is B8000-BFFFF.
  1052. In this case, the memory from A0000-AFFFF may be used to expand DOS
  1053. base memory beyond 640K ( with some VGA cards ) by using the parameter:
  1054.          /M=++++....................
  1055. Of course, with the system configured like this, if you change the video
  1056. mode, undefined ( read as disaster city! ) results will occur.
  1057.      A second example would be a system where you wish to use EMM386.EXE
  1058. to supply EMS memory and wish to use E0000-EFFFF as the EMS base address
  1059. range. To accomplish this, use the UMB_DRVR.SYS parameter:
  1060.          /M=................----....
  1061. to reserve this memory for EMM386.EXE to use. You should also use the
  1062. I=E000-EFFF parameter for EMM386.EXE to include the area for its use.
  1063. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 21
  1064.  
  1065.  
  1066. ERROR MESSAGES
  1067.  
  1068.  
  1069. DMA NOT SUPPORTED ( WARNING )
  1070.  
  1071.      See MISCELLANEOUS NOTES - DMA ACCESS TO UPPER MEMORY.
  1072.  
  1073.  
  1074. SHADOW RAM TEST FAILURE
  1075.  
  1076.      This message is issued when the shadow ram read/write test fails.
  1077. It is usually an indication that you are trying to use memory that is
  1078. not available, or ( possibly ) you do not have the chip set you have
  1079. specified. Check your CMOS setup and any jumpers or switches per your
  1080. hardware documentation. Also review CHIP-SET-SPECIFIC NOTES earlier in
  1081. this document for any requirements.
  1082.      This can also occur if you are trying the example listed in the
  1083. INSTALLATION section using a portion of the video ram area on a VGA
  1084. system in CGA mode and your VGA hardware will not allow it.
  1085.  
  1086.  
  1087. CHIP SET NOT RECOGNIZED
  1088.  
  1089.      As much as possible, UMB_DRVR.SYS tries to verify that you have the
  1090. chip set you indicated in the /C= parameter. If you are sure you have
  1091. the chip set and have correctly specified it, contact me ( see TECHNICAL
  1092. SUPPORT ) and I will try to straighten things out.
  1093.      This message can also occur if a program ( e.g CMOS setup from DOS,
  1094. disk defragger ) reboots the system in a certain way. In this case, it
  1095. can be cleared with the reset button or by power down / power up.
  1096.  
  1097.  
  1098. XMS ALREADY INSTALLED
  1099.  
  1100.      You have not installed UMB_DRVR.SYS before HIMEM.SYS ( UMB_DRVR.SYS
  1101. issues message ), or you have omitted or incorrectly specified the line
  1102. 'DOS=xxxx,UMB' in your CONFIG.SYS ( HIMEM.SYS issues message ). Correct
  1103. your CONFIG.SYS file and and reboot.
  1104.  
  1105.  
  1106. INCORRECT DOS VERSION
  1107.  
  1108.      UMB_DRVR.SYS requires MS/DOS 5.0 for proper operation.
  1109.  
  1110.  
  1111. INVALID PARAMETER(S)
  1112.  
  1113.      On the DEVICE= statement for UMB_DRVR.SYS you have: 1) omitted or
  1114. incorrectly specified the /C= parameter, 2) incorrectly specified the
  1115. /M= parameter, or 3) included extra parameter(s).
  1116.      Check that you have entered the proper 2-digit number for your chip
  1117. set, that ( if specified ) the /M= parameter contains 24 characters from
  1118. the set '.' (period), '-' (minus), '+' (plus) and '#' (pound sign), and
  1119. that nothing else is specified. Correct your CONFIG.SYS file and reboot.
  1120. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 22
  1121.  
  1122.  
  1123. BAD NEWS ( CHIPS THAT WILL NOT BE SUPPORTED )
  1124.  
  1125.      Chips & Technologies: CS8220(82C201/82C202) [1]
  1126.      Intel: 82335/82335SX [2]
  1127.      Sun Electronics ( SUNTAC ): ST62CS02(ST62BC002) [1]
  1128.      United Microelectronics ( UMC ): UM82C230(UM82C231) [1]
  1129.      VLSI Technology: VL82C100 [1]
  1130.      Western Digital: ( Faraday ) FE3021/FE3021A [2]
  1131.  
  1132.      Notes:
  1133.           [1] - No shadow ram support
  1134.           [2] - Lock feature prohibits access
  1135.  
  1136.  
  1137. MAYBE? ( NEED TECHNICAL DATA TO SUPPORT )
  1138.  
  1139.      ACER
  1140.      American Megatrends (AMI) - Megatrends custom chips, *NOT* BIOS
  1141.      COMPAQ
  1142.      IBM PS/2
  1143.      Micronics - custom chips
  1144.      PC-Chips brand chip set(s)
  1145.      Toshiba
  1146.  
  1147.      I have been unable to get any documentation for these systems. If
  1148.      you can have your system vendor or the chip set manufacturer
  1149.      contact me, I will try to include support for them.
  1150.  
  1151.  
  1152. COMING ATTRACTIONS ( SUPPORT PLANNED OR UNDER DEVELOPMENT )
  1153.  
  1154.      ACC Microelectronics: 2036 [2], 2046
  1155.      Headland Technology: HT12/HT15 [1], HT18/HT21/HT22 [2], HT322
  1156.      Intel: 82350 EISA(82359), 80386SL(Intel386SL)
  1157.      OPTi: L1/L2 Notebook
  1158.      Symphony Laboratories: SL82C360(SL82C361), SL82C460(SL82C461)
  1159.      Texas Instruments: TACT84500 EISA(TACT84542)
  1160.      United Microelectronics ( UMC ): UM82C380(UM82C384) [1]
  1161.      VLSI Technology: VL82C486
  1162.      Western Digital: WD6000/WD75C10/WD76C10/WD7710/WD7910 [1]
  1163.      ZyMos Corporation: POACH(82C230/82C231)
  1164.  
  1165.      Notes:
  1166.           [1] - Support minimal ( maximum 64K UMB area ).
  1167.           [2] - Support limited ( maximum 128K UMB area ).
  1168.  
  1169.      If your chip set is not listed, have your system vendor or the chip
  1170.      set manufacturer contact me and I will try to support it.
  1171. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 23
  1172.  
  1173.  
  1174. COMING ATTRACTIONS ( SUPPORT PLANNED OR UNDER DEVELOPMENT ) continued
  1175.  
  1176.  
  1177.      I am writing a general EMS simulator which will load high with
  1178. UMB_DRVR and will use XMS ( HIMEM.SYS ) memory to supply EMS memory on
  1179. *ALL* systems supported by UMB_DRVR ( 286 / 386 / 486 ). If I am able to
  1180. work it out, it will be able to be turned on and off, only using the XMS
  1181. memory when EMS is required. This will be included in the UMBDVR.EXE
  1182. package at no additional charge.
  1183.  
  1184.      Also in the works are features to save even more precious memory
  1185. below 640K by:
  1186.      - loading the primary shell ( COMMAND.COM ) into upper memory
  1187.      - relocating all DOS areas possible to upper memory, including
  1188.          FCBS=, FILES=, BUFFERS=, STACKS=, and LASTDRIVE=
  1189.      - allowing the lower portion of the video ram area to be switched
  1190.          in and out to expand DOS base ram beyond 640K but not inhibit
  1191.          graphics modes ( only for chip sets with video area support )
  1192.  
  1193.      A newer, more flexible ( read as less Neanderthal, approaching the
  1194. Bronze Age ) user interface is coming as soon as I get the time.
  1195.  
  1196.      I have ( I think ) found a way to *reliably* test for and list the
  1197. chip set in a machine. I will be including a separate program to do this
  1198. in the package soon. Of course, it will only recognize the chip sets it
  1199. supports, so a negative result will not necessarily mean you have a chip
  1200. set that will not be supported later.
  1201.  
  1202.      If there is enough interest, I will also write device-specific EMS
  1203. drivers for the hardware facilities in the EMS-capable chip sets. Please
  1204. Email or surface mail your thoughts ( no phone calls on this, please -
  1205. save those for support questions ).
  1206.  
  1207.  
  1208. REVISION HISTORY
  1209.  
  1210.  
  1211.      5.21 [02/03/92] - Added 'User-Specified Available Memory' mode;
  1212.                        Revised doc for Windows 386 Enhanced mode.
  1213.  
  1214.      5.20 [01/15/92] - Important restriction noted for SUNTAC chip sets;
  1215.                        Fix for warm boot intercept on all chip sets
  1216.                          ( by George, I think he's got it! ).
  1217.      5.19 [01/14/92] - Added Silicon Integrated Systems 80386, ISA486;
  1218.                        Fix for warm boot intercept on all chip sets
  1219.                          ( this is getting really frustrating! ).
  1220.      5.18 [01/09/92] - Fix for warm boot intercept on all chip sets to
  1221.                          allow any disk cache to flush its buffers;
  1222.                        32K more upper memory with VGA on some chip sets.
  1223. UMB_DRVR.DOC       Version 5.21             02/03/92            Page 24
  1224.  
  1225.  
  1226. REVISION HISTORY continued
  1227.  
  1228.  
  1229.      5.17 [01/06/92] - Added Texas Instruments TACT83000;
  1230.                        Fix for detection of expansion roms ( all sets ),
  1231.                          warm boot failures on certain BIOSs;
  1232.                        Found 16K to 32K more upper memory on some BIOSs.
  1233.      5.16 [12/30/91] - Fix for warm boot failure with another BIOS type;
  1234.                        Internal code restucturing in preparation for
  1235.                          future enhancements;
  1236.                        Introduction amplified to include tutorial on
  1237.                          different types of extended / expanded / upper
  1238.                          memory management.
  1239.      5.15 [12/24/91] - Added Sun Electronics SUNTAC ST62CS24, ST62CS25;
  1240.                        Fixes for parity errors during DMA test and warm
  1241.                          boot failures with some BIOS implementations.
  1242.      5.14 [11/27/91] - Relaxed all chip-set-verification checks to avoid
  1243.                          problems accepting some BIOS setups as valid.
  1244.      5.13 [11/23/91] - Added Texas Instruments TACT82S411, UMC UM82C210;
  1245.                        Added DMA verification code and warning message;
  1246.                        Documentation expanded and reorganized (again!).
  1247.      5.12 [11/19/91] - Fix for OPTi HiD/386, HiB/486 memory remapping.
  1248.      5.11 [11/17/91] - Fixes for OPTi Sx/AT, Sx/AT Cache, DX/BB PC/AT;
  1249.                        Relaxed validation check for Chips & Technologies
  1250.                          CS8230, CS8231, CS8233, and CS82310;
  1251.                        Documentation updated for various chip set IDs
  1252.                          from Chips and Technologies.
  1253.      5.10 [11/12/91] - Added Chips & Technologies PEAK/DM,
  1254.                          OPTi Sx/AT Cache, HiD/386 AT, HiB/486 AT;
  1255.                        Fixes for VLSI Technology TOPCAT / Intel 82340,
  1256.                          special conditions remapping extended memory
  1257.                          on Chips & Technologies NEAT, LeAPset and SCAT,
  1258.                          miscellaneous logic improvements;
  1259.                        Documentation updated and reorganized.
  1260.      5.09 [10/25/91] - Fix for VLSI Technology TOPCAT / Intel 82340.
  1261.      5.08 [10/14/91] - Fix for boot page special condition.
  1262.      5.07 [10/13/91] - Added VLSI Technology SCAMP,TOPCAT / Intel 82340.
  1263.      5.06 [10/12/91] - Added Elite Microelectronics Eagle, Falcon.
  1264.      5.05 [10/09/91] - Added OPTi Sx/AT, DX/BB PC/AT, 386WB PC/AT,
  1265.                          486SXWB PC/AT, 386/486WB EISA.
  1266.      5.04 [10/02/91] - Added ETEQ Micro COUGAR II.
  1267.      5.03 [09/21/91] - Added Chips & Technologies 386/AT,
  1268.                          386/AT Cache, PEAK, SCAT, ELEAT;
  1269.                        Removed setup requirements.
  1270.      5.02 [09/12/91] - Added FOREX FRX32C300;
  1271.                        Added support for use of 'boot page' area;
  1272.                        Fix for VLSI Technology VL82C200;
  1273.                        Default all roms shadowed.
  1274.      5.01 [09/04/91] - Added VLSI Technology VL82C200.
  1275.      5.00 [09/01/91] - Support for Chips & Technologies NEAT, LeAPset;
  1276.                        Original release version.
  1277.  
  1278.                    ***** END OF DOCUMENTATION *****
  1279.        UMB_DRVR.SYS, Version 5.21 [ 02/03/92 ] Registration Form
  1280.                 ***** Please Type or Print Clearly *****
  1281.  
  1282.  
  1283.         Name:____________________________________________________
  1284.  
  1285.         Address:_________________________________________________
  1286.  
  1287.                 _________________________________________________
  1288.  
  1289.         City/State_______________________________________________
  1290.  
  1291.         Zip/Postal Code__________________________________________
  1292.  
  1293.  
  1294.  
  1295.   ***** Telephone number_________________________________________
  1296.   *   *
  1297.   *   * Email system / routing / ID______________________________
  1298.   *   *
  1299.   *   *      ____________________________________________________
  1300.   *   *
  1301.   * O * Computer description, configuration, chip set, etc.
  1302.   *   *
  1303.   * P *      ____________________________________________________
  1304.   *   *
  1305.   * T *      ____________________________________________________
  1306.   *   *
  1307.   * I *      ____________________________________________________
  1308.   *   *
  1309.   * O * Comments_________________________________________________
  1310.   *   *
  1311.   * N *      ____________________________________________________
  1312.   *   *
  1313.   * A *      ____________________________________________________
  1314.   *   *
  1315.   * L *      ____________________________________________________
  1316.   *   *
  1317.   *   *      ____________________________________________________
  1318.   *   *
  1319.   *   *      ____________________________________________________
  1320.   *   *
  1321.   *****      ____________________________________________________
  1322.  
  1323.  
  1324.  
  1325.         Cost ( U.S.Funds ): $25 ( no credit cards )
  1326.  
  1327.         Mail to: Christopher Blum
  1328.                  1022 East Wayne Avenue
  1329.                  Wooster, Ohio 44691
  1330.